package com.collectplus.express.model;

import java.io.Serializable;

import droid.frame.utils.lang.Str;

/**
 * Created by joker on 2018/4/8.
 * 自助寄件预估价对象
 */
public class SelfPrePriceBean implements Serializable {

    private double coupon;//邮票低至的价钱
    private double cost;//需要支付的价钱
    private double simplePrice;//首重价格
    private double flowPrice;//超重每公斤价格

    public double getCoupon() {
        return coupon;
    }

    public String getCouponStr() {
        return Str.roundByScale(coupon, 1);
    }

    public void setCoupon(double coupon) {
        this.coupon = coupon;
    }

    public double getCost() {
        return cost;
    }

    public String getCostStr() {
        return Str.roundByScale(cost, 1);
    }

    public void setCost(double cost) {
        this.cost = cost;
    }

    public double getSimplePrice() {
        return simplePrice;
    }

    public String getSimplePriceStr() {
        return Str.roundByScale(simplePrice, 1);
    }

    public void setSimplePrice(double simplePrice) {
        this.simplePrice = simplePrice;
    }

    public double getFlowPrice() {
        return flowPrice;
    }

    public String getFlowPriceStr() {
        return Str.roundByScale(flowPrice, 1);
    }

    public void setFlowPrice(double flowPrice) {
        this.flowPrice = flowPrice;
    }
}
